package helper.base.list

import helper.base.BaseTypeHelper.ListExpand.toArrayList
import helper.base.list.ListToHelper.toXYData
import org.junit.Test

class ListToHelperTest {
    @Test
    fun testXYData() {
        val ds = (10..20).map {
            it.toDouble()
        }.toArrayList()
        val toXYData = ds.toXYData()
        toXYData.forEach {
            it.forEach { d ->
                print("$d,\t")
            }
            println()
        }
    }
}